package com.example.behaviour.message;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;

import java.util.Date;

@Data
public class AddFriendRequestMessage extends Message{

    private Integer id;

    private Integer userId;

    private Integer friendId;

    private String userName;

    private String friendName;

    private String addInfo;

    private Date createdTime;

    private Integer success;  // 1 成功 0 待处理 -1 拒绝

    private String refuse;  // 0 拒绝请求 1 同意请求

    @Override
    public int getMessageType() {
        return AddFriendRequestMessage;
    }
}
